﻿using System;
using System.Collections.Generic;

namespace Model
{
     ///<summary>
     ///实体类WEB_SERICE_SYSLOG
     ///</summary>
     public class WEB_SERICE_SYSLOG
     {
         private int __ID=0 ;
         private string __JCLSH=string.Empty ;
         private string __LWLSH=string.Empty ;
         private string __JCZHDH=string.Empty ;
         private string __WebURL=string.Empty ;
         private string __JCXH=string.Empty ;
         private string __JKSBDH=string.Empty ;
         private string __JCCS=string.Empty ;
         private string __VEHICLEID=string.Empty ;
         private string __HPZLDH=string.Empty ;
         private string __WriteDate=string.Empty ;
         private int? __JKType=null ;
         private int? __UpStatus=null ;
         private string __WebCode=string.Empty ;
         private string __RequestXML=string.Empty ;
         private string __ResponseXML=string.Empty ;
         private string __CodeName=string.Empty ;
         private string __JCGWH=string.Empty ;
         private string __JYXM=string.Empty ;

         private Dictionary<string, bool> __Changed = new Dictionary<string, bool>();


         public WEB_SERICE_SYSLOG()
         {
             this.__Changed.Add("ID",false);
             this.__Changed.Add("JCLSH",false);
             this.__Changed.Add("LWLSH",false);
             this.__Changed.Add("JCZHDH",false);
             this.__Changed.Add("WebURL",false);
             this.__Changed.Add("JCXH",false);
             this.__Changed.Add("JKSBDH",false);
             this.__Changed.Add("JCCS",false);
             this.__Changed.Add("VEHICLEID",false);
             this.__Changed.Add("HPZLDH",false);
             this.__Changed.Add("WriteDate",false);
             this.__Changed.Add("JKType",false);
             this.__Changed.Add("UpStatus",false);
             this.__Changed.Add("WebCode",false);
             this.__Changed.Add("RequestXML",false);
             this.__Changed.Add("ResponseXML",false);
             this.__Changed.Add("CodeName",false);
             this.__Changed.Add("JCGWH",false);
             this.__Changed.Add("JYXM",false);
         }

         /// <summary>
         /// 将类重置到初始化状态
         /// </summary>
         public void Reset()
         {
             this.__ID =0;
             this.__JCLSH =string.Empty;
             this.__LWLSH =string.Empty;
             this.__JCZHDH =string.Empty;
             this.__WebURL =string.Empty;
             this.__JCXH =string.Empty;
             this.__JKSBDH =string.Empty;
             this.__JCCS =string.Empty;
             this.__VEHICLEID =string.Empty;
             this.__HPZLDH =string.Empty;
             this.__WriteDate =string.Empty;
             this.__JKType =null;
             this.__UpStatus =null;
             this.__WebCode =string.Empty;
             this.__RequestXML =string.Empty;
             this.__ResponseXML =string.Empty;
             this.__CodeName =string.Empty;
             this.__JCGWH =string.Empty;
             this.__JYXM =string.Empty;
             this.__Changed["ID"] = false;
             this.__Changed["JCLSH"] = false;
             this.__Changed["LWLSH"] = false;
             this.__Changed["JCZHDH"] = false;
             this.__Changed["WebURL"] = false;
             this.__Changed["JCXH"] = false;
             this.__Changed["JKSBDH"] = false;
             this.__Changed["JCCS"] = false;
             this.__Changed["VEHICLEID"] = false;
             this.__Changed["HPZLDH"] = false;
             this.__Changed["WriteDate"] = false;
             this.__Changed["JKType"] = false;
             this.__Changed["UpStatus"] = false;
             this.__Changed["WebCode"] = false;
             this.__Changed["RequestXML"] = false;
             this.__Changed["ResponseXML"] = false;
             this.__Changed["CodeName"] = false;
             this.__Changed["JCGWH"] = false;
             this.__Changed["JYXM"] = false;
         }

         /// <summary>
         /// 获取类中成员的改变状态
         /// </summary>
         public bool Changed(string strKey)
         {
             return __Changed[strKey];
         }

         /// <summary>
         ///设置或获取类中的[ID]的数据
         /// </summary>
         public int ID
         {
              set{ __ID = value; __Changed["ID"] = true;}
              get{return __ID;}
         }
         /// <summary>
         ///设置或获取类中的[JCLSH]的数据
         /// </summary>
         public string JCLSH
         {
              set{ __JCLSH = value.Replace("'","’"); __Changed["JCLSH"] = true;}
              get{return __JCLSH;}
         }
         /// <summary>
         ///设置或获取类中的[LWLSH]的数据
         /// </summary>
         public string LWLSH
         {
              set{ __LWLSH = value.Replace("'","’"); __Changed["LWLSH"] = true;}
              get{return __LWLSH;}
         }
         /// <summary>
         ///设置或获取类中的[JCZHDH]的数据
         /// </summary>
         public string JCZHDH
         {
              set{ __JCZHDH = value.Replace("'","’"); __Changed["JCZHDH"] = true;}
              get{return __JCZHDH;}
         }
         /// <summary>
         ///设置或获取类中的[WebURL]的数据
         /// </summary>
         public string WebURL
         {
              set{ __WebURL = value.Replace("'","’"); __Changed["WebURL"] = true;}
              get{return __WebURL;}
         }
         /// <summary>
         ///设置或获取类中的[JCXH]的数据
         /// </summary>
         public string JCXH
         {
              set{ __JCXH = value.Replace("'","’"); __Changed["JCXH"] = true;}
              get{return __JCXH;}
         }
         /// <summary>
         ///设置或获取类中的[JKSBDH]的数据
         /// </summary>
         public string JKSBDH
         {
              set{ __JKSBDH = value.Replace("'","’"); __Changed["JKSBDH"] = true;}
              get{return __JKSBDH;}
         }
         /// <summary>
         ///设置或获取类中的[JCCS]的数据
         /// </summary>
         public string JCCS
         {
              set{ __JCCS = value.Replace("'","’"); __Changed["JCCS"] = true;}
              get{return __JCCS;}
         }
         /// <summary>
         ///设置或获取类中的[VEHICLEID]的数据
         /// </summary>
         public string VEHICLEID
         {
              set{ __VEHICLEID = value.Replace("'","’"); __Changed["VEHICLEID"] = true;}
              get{return __VEHICLEID;}
         }
         /// <summary>
         ///设置或获取类中的[HPZLDH]的数据
         /// </summary>
         public string HPZLDH
         {
              set{ __HPZLDH = value.Replace("'","’"); __Changed["HPZLDH"] = true;}
              get{return __HPZLDH;}
         }
         /// <summary>
         ///设置或获取类中的[WriteDate]的数据
         /// </summary>
         public string WriteDate
         {
              set{ __WriteDate = value.Replace("'","’"); __Changed["WriteDate"] = true;}
              get{return __WriteDate;}
         }
         /// <summary>
         ///设置或获取类中的[JKType]的数据
         /// </summary>
         public int? JKType
         {
              set{ __JKType = value; __Changed["JKType"] = true;}
              get{return __JKType;}
         }
         /// <summary>
         ///设置或获取类中的[UpStatus]的数据
         /// </summary>
         public int? UpStatus
         {
              set{ __UpStatus = value; __Changed["UpStatus"] = true;}
              get{return __UpStatus;}
         }
         /// <summary>
         ///设置或获取类中的[WebCode]的数据
         /// </summary>
         public string WebCode
         {
              set{ __WebCode = value.Replace("'","’"); __Changed["WebCode"] = true;}
              get{return __WebCode;}
         }
         /// <summary>
         ///设置或获取类中的[RequestXML]的数据
         /// </summary>
         public string RequestXML
         {
              set{ __RequestXML = value.Replace("'","’"); __Changed["RequestXML"] = true;}
              get{return __RequestXML;}
         }
         /// <summary>
         ///设置或获取类中的[ResponseXML]的数据
         /// </summary>
         public string ResponseXML
         {
              set{ __ResponseXML = value.Replace("'","’"); __Changed["ResponseXML"] = true;}
              get{return __ResponseXML;}
         }
         /// <summary>
         ///设置或获取类中的[CodeName]的数据
         /// </summary>
         public string CodeName
         {
              set{ __CodeName = value.Replace("'","’"); __Changed["CodeName"] = true;}
              get{return __CodeName;}
         }
         /// <summary>
         ///设置或获取类中的[JCGWH]的数据
         /// </summary>
         public string JCGWH
         {
              set{ __JCGWH = value.Replace("'","’"); __Changed["JCGWH"] = true;}
              get{return __JCGWH;}
         }
         /// <summary>
         ///设置或获取类中的[JYXM]的数据
         /// </summary>
         public string JYXM
         {
              set{ __JYXM = value.Replace("'","’"); __Changed["JYXM"] = true;}
              get{return __JYXM;}
         }
    }
}
